package com.dfiov.cloud.msmtools.entity.vo.balance;

import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import lombok.Data;

import java.math.BigDecimal;
import java.util.List;

@Data
@JsonIgnoreProperties(ignoreUnknown = true)
public class PackageVo {
    private String iccid;
    private String orderNo;
    private String orderItemNo;
    private String goodsName;
    private String goodsSkuNo;
    private BigDecimal totalData;
    private BigDecimal totalDataRemain;
    private BigDecimal totalDataUsed;
    private BigDecimal periodTotalData;
    private BigDecimal periodDataUsed;
    private BigDecimal periodDataRemain;
    private String activeTime;
    private String inactiveTime;
    private Integer duration;
    private Integer durationUnit;
    private Integer periodDuration;
    private Integer periodDurationUnit;
    private Integer state;
    private Integer superposedTimes;
    private Integer currSuperposed;
    private String orderTime;
    private String actualInactiveTime;
    private String periodActiveTime;
    private String periodInActiveTime;
    private Integer flowType;
    private List<GoodsCategoryVo> goodsCategoryList;

    @Data
    @JsonIgnoreProperties(ignoreUnknown = true)
    private class GoodsCategoryVo {
        private String categoryNo;
        private String categoryName;
        private Integer categoryLevel;
    }
}
